<template><div></div></template>
<script setup lang="ts">
import { useRouter, useRoute } from 'vue-router';
import { onMounted } from 'vue';
import { decode } from 'js-base64';

const router = useRouter();
const route = useRoute();

const gotoPath = route.params.path as string;

onMounted(() => {
	const pathDecode = decode(gotoPath);
	router.replace({ path: pathDecode });
});
</script>

<style scoped lang="less"></style>
